package com.buba.user.service;

import com.buba.pojo.user.Campus;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import com.buba.utils.R;

/**
 * <p>
 * 院区表 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-06-09
 */
public interface CampusService extends IService<Campus> {

    /**
     * @Author 梁玉杰
     * @Description //所有院区列表
     * @param Health health
     * @Return com.buba.utils.R
     * @throws
     * @Date 2022/6/10 16:00
     **/
    R findAllCampus();

    /**
     * @Author 梁玉杰
     * @Description //院区详情
     * @param Integer id
     * @Return com.buba.utils.R
     * @throws
     * @Date 2022/6/10 16:06
     **/
    R findByCampusID(Integer id);

    List<Campus> getHospitals();
}
